package com.rq.demo.net;

import com.rq.base.net.HttpProxy;
import com.rq.base.net.HttpThreadManager;
import com.rq.base.net.RequestType;
import com.rq.base.ui.impl.BaseView;
import com.rq.base.util.LOG;

import java.util.Map;

public class HttpExample implements HttpProxy {
    @Override
    public void download(String path, String savePath, Map<String, String> heads, Map<String, Object> param, HttpThreadManager.DownListener listener) {
        LOG.e("HttpExample","13:用户实现的下载");
    }

    @Override
    public <T> void post(String url, Map<String, String> heads, Map<String, Object> data, Class<T> callBackClass, BaseView callBackView, RequestType requestType) {
        LOG.e("HttpExample","13:用户实现的post");

    }

    @Override
    public <T> void get(String url, Map<String, String> heads, Map<String, Object> data, Class<T> callBackClass, BaseView callBackView, RequestType requestType) {
        LOG.e("HttpExample","13:用户实现的get");
    }
}
